package fzdy.service.impl;

import fzdy.core.dao.Dao;
import fzdy.core.service.impl.BaseServiceImpl;
import fzdy.dao.ISysmoduleDao;
import fzdy.entity.Sysmodule;
import fzdy.service.ISysmoduleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysmoduleService extends BaseServiceImpl<Sysmodule> implements ISysmoduleService {
    @Autowired
    private ISysmoduleDao dao;
    @Override
    protected Dao getDao() {
        return dao;
    }

    @Override
    public List<Sysmodule> getusermenudata(Integer roleId) {
        return dao.getusermenudata(roleId);
    }
}
